<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2017/10/26
  Time: 12:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false" session="true"%>
<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <title><s:message code="M_1800_PACK_MANAGEMENT_TAG" /></title>
    <%@ include file="/page/comPage/comCSS.html"%>
    <%@ include file="/page/comPage/navbar.html"%>
    <style>
        #leftDiv,#bottomDiv,#boxListDiv{
            margin-top:10px;
        }
        #topDiv,#mdileDiv{
            margin-top:50px;
        }
        #maxCntTxt,#curCntTxt{
            margin-left:165px;
        }
        #boxIdFkdDiv{
            margin-left:65px;
        }

        label{
            padding-top: 10px;
        }
    </style>
</head>
<body>
<div class="container-fluid">
    <div class="col-lg-12 btnDivCss">
        <button class="btn btn btn-info" id="query_btn"><s:message code="QUERY_TAG" /></button>
        <button class="btn btn-success"  id="save_btn"><s:message code="REGISTER_BOX_TAG" /></button>
        <button class="btn btn-primary"  id="clean_btn"><s:message code="REGISTER_CANCEL_BOX_TAG" /></button>
    </div>
   <%-- <div id="topDiv" class="col-lg-12 col-md-12 col-sm-12" >
        <form  class="col-lg-12 col-md-12 col-sm-12 form-horizontal">
            <div class="col-lg-4 col-md-4 col-sm-4">
                <label class="control-label col-lg-3 col-md-3 col-sm-3" for="woTypeFk">
                    工单类型
                </label>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <select type="text" id="woTypeFk"  class="form-control"></select>
                </div>
            </div>
            <div class="col-lg-4 col-md-4 col-sm-4">
                <label class="control-label col-lg-3 col-md-3 col-sm-3" for="woIdFk">
                    工单代码
                </label>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <select type="text" id="woIdFk"  class="form-control">,</select>
                </div>
            </div>
        </form>
    </div>--%>
    <div id="mdileDiv" class="col-lg-12 col-md-12 col-sm-12" >
        <div  class="col-lg-6 col-md-6 col-sm-6" >
            <div class="col-lg-12 col-md-12 col-sm-12">
                <label class="control-label col-lg-3 col-md-3 col-sm-3" for="inBoxIdFk1">
                    <s:message code="N_BOX_ID_TAG" />:
                </label>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <input type="text" id="inBoxIdFk1"  class="form-control"/>
                </div>
            </div>
            <div class=" col-lg-12 col-md-12 col-sm-12">
                <label class="control-label col-lg-3 col-md-3 col-sm-3" for="nWeight">
                    净重(kg):
                </label>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <input type="text" id="nWeight"  class="form-control"/>
                </div>
            </div>
            <div class=" col-lg-12 col-md-12 col-sm-12">
                <label class="control-label col-lg-3 col-md-3 col-sm-3" for="gWeight">
                    毛重(kg):
                </label>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <input type="text" id="gWeight"  class="form-control"/>
                </div>
            </div>
            <div class="col-lg-12 col-md-12 col-sm-12">
                <fieldset>
                    <legend><s:message code="OFFLINE_INFO_TAG" /></legend>
                </fieldset>
                <form  class="col-lg-12 col-md-12 col-sm-12 form-horizontal">
                    <div class="form-group">
                        <label class="control-label col-lg-3 col-md-3 col-sm-3" for="boxIdFk1">
                            <s:message code="BOX_ID_TAG" />:
                        </label>
                        <div class="controls col-lg-6 col-md-6 col-sm-6">
                            <span type="text" id="boxIdFk1"  />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-lg-3 col-md-3 col-sm-3" for="mdlIdFk1">
                            <s:message code="PRODUCT_ID_TAG" />:
                        </label>
                        <div class="controls col-lg-6 col-md-6 col-sm-6">
                            <span type="text" id="mdlIdFk1"  />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-lg-3 col-md-3 col-sm-3" for="woIdFk1">
                            <s:message code="WO_ID_TAG" />:
                        </label>
                        <div class="controls col-lg-6 col-md-6 col-sm-6">
                            <span type="text" id="woIdFk1"  />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-lg-3 col-md-3 col-sm-3" for="prdGrade1">
                            <s:message code="MDL_GRADE_TAG" />:
                        </label>
                        <div class="controls col-lg-6 col-md-6 col-sm-6">
                            <span type="text" id="prdGrade1"  />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-lg-3 col-md-3 col-sm-3" for="prdQty1">
                            <s:message code="PRD_QTY_TAG" />:
                        </label>
                        <div class=" controls col-lg-6 col-md-6 col-sm-6">
                            <%--<span id="prdQty1" class="spanTxt"></span>--%>
                            <span type="text" id="prdQty1"  />
                        </div>
                    </div>
                </form>
            </div>
        </div>

        <div class="col-lg-6 col-md-6 col-sm-6">
            <fieldset>
                <legend><s:message code="N_BOX_ID_TAG" />列表</legend>
            </fieldset>
            <div id="inBoxListDiv" class="col-lg-12">
                <table id="inBoxListGrd"></table>
                <div id="inBoxListPg"></div>
            </div>
        </div>

       <%-- <div  class="col-lg-6 col-md-6 col-sm-6" >
            <div class="form-group">
                <label class="control-label col-lg-3 col-md-3 col-sm-3" for="inBoxIdFk2">
                    内箱箱号2：
                </label>
                <div class="col-lg-5 col-md-5 col-sm-5">
                    <input type="text" id="inBoxIdFk2"  class="form-control"/>
                </div>
            </div>
            <div class="col-lg-12 col-md-12 col-sm-12">
                <fieldset>
                    <legend>面板信息</legend>
                </fieldset>
                <form  class="col-lg-12 col-md-12 col-sm-12 form-horizontal">
                    <div class="form-group">
                        <label class="control-label col-lg-3 col-md-3 col-sm-3" for="boxIdFk2">
                            箱号:
                        </label>
                        <div class="controls col-lg-6 col-md-6 col-sm-6">
                            <span type="text" id="boxIdFk2"  />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-lg-3 col-md-3 col-sm-3" for="mdlIdFk2">
                            产品代码:
                        </label>
                        <div class="controls col-lg-6 col-md-6 col-sm-6">
                            <span type="text" id="mdlIdFk2"  />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-lg-3 col-md-3 col-sm-3" for="woIdFk2">
                            工单代码:
                        </label>
                        <div class="controls col-lg-6 col-md-6 col-sm-6">
                            <span type="text" id="woIdFk2"  />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-lg-3 col-md-3 col-sm-3" for="prdGrade2">
                            产品等级:
                        </label>
                        <div class="controls col-lg-6 col-md-6 col-sm-6">
                            <span type="text" id="prdGrade2"  />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-lg-3 col-md-3 col-sm-3" for="prdQty2">
                            数量:
                        </label>
                        <div class=" controls col-lg-6 col-md-6 col-sm-6">
                            <span type="text" id="prdQty2"  />
                        </div>
                    </div>
                </form>
            </div>
        </div>--%>
    </div>
    <div id="bottomDiv" class="col-lg-12 col-md-12 col-sm-12" >
        <div class="col-lg-12 col-md-12 col-sm-12">
            <fieldset>
                <legend><s:message code="W_BOX_ID_TAG" />信息</legend>
            </fieldset>
            <div class="col-lg-12 col-md-12 col-sm-12">
                <label  id="boxIdFkdDiv" class="control-label col-lg-1 col-md-1 col-sm-1" for="outBoxIdFk">
                    <s:message code="W_BOX_ID_TAG" />：
                </label>
                <div class="col-lg-3 col-md-3 col-sm-3">
                    <input type="text" id="outBoxIdFk"  class="form-control"/>
                </div>
            </div>
            <div id="boxListDiv"  class="col-lg-12 col-md-12 col-sm-12">
                <table id="boxListGrd"></table>
                <div id="boxListPg"></div>
            </div>
        </div>
    </div>
</div>
<%--<div id="WeightDialog" class="modal fade" tabindex="-1"role="dialog" aria-labelledby="title" aria-hidden="true">
    <div class="modal-dialog" style="width:650px;">
        <div class="modal-content">
            <!-- 模框头部 -->
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-hidden="true">×</button>
                <h4 class="modal-title">打印标签</h4>
            </div>
            <!-- 模框主体 -->
            <div class="modal-body">
                <div class="container-fluid">
                    <div class=" col-lg-12 col-md-12 col-sm-12">
                        <label class="control-label col-lg-3 col-md-3 col-sm-3" for="nWeight">
                            净重(kg):
                        </label>
                        <div class="col-lg-6 col-md-6 col-sm-6">
                            <input type="text" id="nWeight"  class="form-control"/>
                        </div>
                    </div>
                    <div class=" col-lg-12 col-md-12 col-sm-12">
                        <label class="control-label col-lg-3 col-md-3 col-sm-3" for="gWeight">
                            毛重(kg):
                        </label>
                        <div class="col-lg-6 col-md-6 col-sm-6">
                            <input type="text" id="gWeight"  class="form-control"/>
                        </div>
                    </div>
                </div>
                <!-- 模框底部 -->
                <div class="modal-footer">
                     <button type="button" class="btn btn-primary"
                             id="weightSureBtn">
                         <s:message code="PRINT_TAG" />
                     </button>
                     <button type="button" class="btn btn-default" data-dismiss="modal"
                             id="weightCancelBtn">
                         <s:message code="CANCEL_TAG" />
                     </button>
                </div>
            </div>
        </div>
    </div>
</div>--%>

<%@ include file="/page/comPage/comJS.html"%>
<%@ include file="/page/comPage/printJS.html"%>
<script src="js/page/1000/1800.js"></script>
</body>
</html>